package org.jeecg.modules.demo.weixin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: smt_meituan_link
 * @Author: jeecg-boot
 * @Date:   2023-11-02
 * @Version: V1.0
 */
@Data
@TableName("smt_meituan_link")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_meituan_link对象", description="smt_meituan_link")
public class SmtMeituanLink implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;
	/**merchantId*/
	@Excel(name = "merchantId", width = 15)
    @ApiModelProperty(value = "merchantId")
    private Integer merchantId;
	/**北极星接口调用凭证*/
	@Excel(name = "北极星接口调用凭证", width = 15)
    @ApiModelProperty(value = "北极星接口调用凭证")
    private String sessionCode;
	/**北极星凭证刷新*/
	@Excel(name = "北极星凭证刷新", width = 15)
    @ApiModelProperty(value = "北极星凭证刷新")
    private String refreshToken;
	/**客户Id，注：bid不是open_shop_uuids*/
	@Excel(name = "客户Id，注：bid不是open_shop_uuids", width = 15)
    @ApiModelProperty(value = "客户Id，注：bid不是open_shop_uuids")
    private String bid;
	/**北极星接口刷新时间*/
	@Excel(name = "北极星接口刷新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "北极星接口刷新时间")
    private Date refreshTime;
	/**已刷新次数，最多可以刷新12次*/
	@Excel(name = "已刷新次数，最多可以刷新12次", width = 15)
    @ApiModelProperty(value = "已刷新次数，最多可以刷新12次")
    private Integer refreshNum;
	/**门店id的唯一标识*/
	@Excel(name = "门店id的唯一标识", width = 15)
    @ApiModelProperty(value = "门店id的唯一标识")
    private String openShopUuid;
	/**门店名称*/
	@Excel(name = "门店名称", width = 15)
    @ApiModelProperty(value = "门店名称")
    private String shopName;
	/**分店名称*/
	@Excel(name = "分店名称", width = 15)
    @ApiModelProperty(value = "分店名称")
    private String branchName;
	/**门店地址*/
	@Excel(name = "门店地址", width = 15)
    @ApiModelProperty(value = "门店地址")
    private String shopAddress;
	/**所在城市*/
	@Excel(name = "所在城市", width = 15)
    @ApiModelProperty(value = "所在城市")
    private String cityName;
	/**点评门店ID*/
	@Excel(name = "点评门店ID", width = 15)
    @ApiModelProperty(value = "点评门店ID")
    private String shopId;
    /**点评门店ID*/
    @Excel(name = "设备号", width = 15)
    @ApiModelProperty(value = "设备号")
    private String devCode;

}
